const https = require('https');

https.get('https://www.tupianzj.com/meinv/mm/meituwang/', (res) => {
  res.setEncoding('utf8');
  let rawData = '';
  res.on('data', (chunk) => { 
    rawData += chunk;
   });
  res.on('end', () => {
   console.log(rawData);
  });
}).on('error', (e) => {
  console.error(`出现错误: ${e.message}`);
});